#include "channel.h"

const std::string&	channel::getTitle() const
{
  return this->_title;
}

const std::string&	channel::getLink() const
{
  return this->_link;
}

const std::string&	channel::getDescription() const
{
  return this->_description;
}

const std::list<Item*>&	channel::getItems() const
{
  return this->_items;
}

void			channel::addItem(Item* item)
{
  this->_items.push_back(item);
}

void			channel::setTitle(const std::string &title)
{
  this->_title = title;
}

void			channel::setLink(const std::string &link)
{
  this->_link = link;
}

void			channel::setDescription(const std::string &description)
{
  this->_description = description;
}
